package com.qs.auto.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;
import java.util.Date;


/**
 * The persistent class for the auto_driver_incident_detail database table.
 * 
 */
@Entity
@Table(name="auto_driver_incident_detail")
public class AutoDriverIncidentDetail implements Serializable {
	private static final long serialVersionUID = 1L;
	private String incidentId;
	private String createdBy;
	private Date createdDt;
	private BigInteger driverId;
	private Date incidentDate;
	private BigInteger incidentType;
	private String responsibleForAccident;
	private BigInteger suspensionReason;
	private String updatedBy;
	private Date updatedDt;
	private BigInteger violationType;

    public AutoDriverIncidentDetail() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="INCIDENT_ID")
	public String getIncidentId() {
		return this.incidentId;
	}

	public void setIncidentId(String incidentId) {
		this.incidentId = incidentId;
	}


	@Column(name="CREATED_BY")
	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="CREATED_DT")
	public Date getCreatedDt() {
		return this.createdDt;
	}

	public void setCreatedDt(Date createdDt) {
		this.createdDt = createdDt;
	}


	@Column(name="DRIVER_ID")
	public BigInteger getDriverId() {
		return this.driverId;
	}

	public void setDriverId(BigInteger driverId) {
		this.driverId = driverId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="INCIDENT_DATE")
	public Date getIncidentDate() {
		return this.incidentDate;
	}

	public void setIncidentDate(Date incidentDate) {
		this.incidentDate = incidentDate;
	}


	@Column(name="INCIDENT_TYPE")
	public BigInteger getIncidentType() {
		return this.incidentType;
	}

	public void setIncidentType(BigInteger incidentType) {
		this.incidentType = incidentType;
	}


	@Column(name="RESPONSIBLE_FOR_ACCIDENT")
	public String getResponsibleForAccident() {
		return this.responsibleForAccident;
	}

	public void setResponsibleForAccident(String responsibleForAccident) {
		this.responsibleForAccident = responsibleForAccident;
	}


	@Column(name="SUSPENSION_REASON")
	public BigInteger getSuspensionReason() {
		return this.suspensionReason;
	}

	public void setSuspensionReason(BigInteger suspensionReason) {
		this.suspensionReason = suspensionReason;
	}


	@Column(name="UPDATED_BY")
	public String getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="UPDATED_DT")
	public Date getUpdatedDt() {
		return this.updatedDt;
	}

	public void setUpdatedDt(Date updatedDt) {
		this.updatedDt = updatedDt;
	}


	@Column(name="VIOLATION_TYPE")
	public BigInteger getViolationType() {
		return this.violationType;
	}

	public void setViolationType(BigInteger violationType) {
		this.violationType = violationType;
	}

}